﻿using PropertyChanged;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Npgsql.Replication.PgOutput.Messages.RelationMessage;
namespace BusinessService.Plugin.Services.Dtos
{
    /// <summary>
    /// 自动将数据返回窗体(对象映射模型)
    /// </summary>
    [AddINotifyPropertyChangedInterface]
    public class TransferDtos
    {
        /// <summary>
        /// 发送周期
        /// </summary>

        public static int SendCycle { get; set; }
        /// <summary>
        /// 自动发送
        /// </summary>
        public static bool AutoSend { get; set; }

        /// <summary>
        /// 发送条数
        /// </summary>
        public long SendCount { get; set; }
        /// <summary>
        /// 上传成功次数
        /// </summary>
        public long SuccessCount { get; set; }
        /// <summary>
        /// 失败次数
        /// </summary>
		public long ErrorCount { get; set; }


        /// <summary>
        /// 实时报文
        /// </summary>
        public string RealTimeMessage { get; set; }
    }
}
